﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;

namespace Com.Easywiki.Model
{
    public class CategoryModel
    {
        [Required]
        [Display(Name = "Lable name")]
        public string Lable { get; set; }

        [Required]
        [Display(Name = "Is Root Category")]
        public bool IsRoot { get; set; }

        [Required]
        [Display(Name = "Link")]
        public string Link { get; set; }

        [Required]
        [Display(Name = "ParentID")]
        public int ParentId { get; set; }
    }
}